package com.bigdata.booklibraryseatapi.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.bigdata.booklibraryseatapi.entity.BookTimeQuantum;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.bigdata.booklibraryseatapi.vo.req.PageBookTimeQuantumReqVO;
import com.bigdata.booklibraryseatapi.vo.resp.PageBookTimeQuantumRespVO;
import com.bigdata.booklibraryseatapi.vo.resp.TimeQuantumListRespVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 预约时间段 Mapper 接口
 * </p>
 *
 * @author book
 * @since 2023-12-13
 */
@Mapper
public interface BookTimeQuantumMapper extends BaseMapper<BookTimeQuantum> {
    IPage<PageBookTimeQuantumRespVO> selectPageBookTimeQuantum(IPage<?> page, @Param("vo") PageBookTimeQuantumReqVO vo);

    List<TimeQuantumListRespVO> getTimeQuantumListRespVo();
}
